package a.j;

import a.i.l;

import java.awt.*;

public abstract class ve
  implements Comparable
{
  private double a;
  private qb b;
  public static final byte c = 1;
  public static final byte d = 2;
  public static final byte e = 3;
  public static final byte f = 0;
  private Object g;
  public static final ve h = new ve(0.0D, new qb()
  {
    public void paint(Graphics2D paramAnonymousGraphics2D) {}
    
    public Rectangle getBounds()
    {
      return new Rectangle(0, 0, -1, -1);
    }
  })
  {
    public byte a(a.d.w paramAnonymousw, Point2D.Double paramAnonymousDouble, byte paramAnonymousByte)
    {
      return paramAnonymousByte;
    }
    
    public boolean a(a.d.w paramAnonymousw1, a.d.w paramAnonymousw2, byte paramAnonymousByte)
    {
      return false;
    }
  };
  public static boolean i;
  
  protected ve(double paramDouble)
  {
    this(paramDouble, null);
  }
  
  protected ve(double paramDouble, qb paramqb)
  {
    this(paramDouble, paramqb, null);
  }
  
  protected ve(double paramDouble, qb paramqb, Object paramObject)
  {
    this.a = paramDouble;
    this.b = (paramqb != null ? paramqb : h.a(null, null));
    this.g = paramObject;
  }
  
  public Object a()
  {
    return this.g;
  }
  
  protected void a(Object paramObject)
  {
    this.g = paramObject;
  }
  
  public double b()
  {
    return this.a;
  }
  
  public abstract byte a(a.d.w paramw, Point2D.Double paramDouble, byte paramByte);
  
  public abstract boolean a(a.d.w paramw1, a.d.w paramw2, byte paramByte);
  
  public int compareTo(Object paramObject)
  {
    ve localve = (ve)paramObject;
    return l.a(b(), localve.b());
  }
  
  public qb a(w paramw, a.d.w paramw1)
  {
    return this.b;
  }
  
  public static ve a(double paramDouble1, qb paramqb, boolean paramBoolean, double paramDouble2)
  {
    return new b_(paramDouble1, paramqb, paramBoolean, paramDouble2, null);
  }
  
  public static ve a(double paramDouble1, qb paramqb, boolean paramBoolean, double paramDouble2, Object paramObject)
  {
    return new b_(paramDouble1, paramqb, paramBoolean, paramDouble2, paramObject);
  }
  
  static class b_
    extends ve
  {
    private final boolean j;
    private final double k;
    
    public b_(double paramDouble1, qb paramqb, boolean paramBoolean, double paramDouble2, Object paramObject)
    {
      super(paramqb, paramObject);
      this.j = paramBoolean;
      this.k = paramDouble2;
    }
    
    public byte a(a.d.w paramw, Point2D.Double paramDouble, byte paramByte)
    {
      if (!ld.E)
      {
        if (this.j)
        {
          paramDouble.x = this.k;
          return (byte)(0x1 | paramByte);
        }
        paramDouble.y = this.k;
      }
      return (byte)(0x2 | paramByte);
    }
    
    public boolean a(a.d.w paramw1, a.d.w paramw2, byte paramByte)
    {
      boolean bool = ld.E;
      if (!bool) {
        if (this.j)
        {
          if (!bool) {}
          return paramw2.a == this.k;
        }
      }
      if (!bool) {}
      return paramw2.b == this.k;
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.ve

 * JD-Core Version:    0.7.0.1

 */